package org.mespilus.mespilusweb.ui.usermanagement.client;

import java.util.List;

import org.mespilus.mespilusweb.ui.usermanagement.client.model.FullMember;
import org.mespilus.mespilusweb.ui.usermanagement.client.model.UsefulGroup;
import org.mespilus.mespilusweb.ui.usermanagement.client.model.UsefulMember;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("userManagementService")
public interface UserManagementService extends RemoteService {
	List<UsefulMember> getMembers();
	FullMember getMember(String mail);
	void addMember(FullMember member);
	List<UsefulGroup> getGroups();
	void addGroup(UsefulGroup group);
}
